package com.blic.vo;

/**
 * 微信通用接口凭证
 * 
 * * @author lzw
 * 
 * @date 2014-04-04
 */
public class AccessToken extends WXResult{
	// 获取到的凭证
	private String token;
	// 凭证有效时间，单位：秒
	private int expiresIn;

	// 用户刷新时间
	private String refresh_token;

	private String openid;

	private String scope;

	private long beginTime = System.currentTimeMillis();

	public String toString() {
		System.out.println("[token=" + token + ",expiresIn=" + expiresIn + "]");
		return token;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public int getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}

	public long getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(long beginTime) {
		this.beginTime = beginTime;
	}

	public String getRefresh_token() {
		return refresh_token;
	}

	public void setRefresh_token(String refresh_token) {
		this.refresh_token = refresh_token;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

}